package gozerocommon

// ListInInt64 list in action
func ListInInt64(list []int64, i int64) bool {
	for _, item := range list {
		if item == i {
			return true
		}
	}
	return false
}
